public class ForEx3
{
	public static void main(String[] args)
	{
		int i, sum=0;
		
		for (i=1; i<=100; i++)
		{
			sum += i;
		}
		System.out.println("sum 1 to 100 = " + sum);
	}
}
